<?php
namespace app\common\validate;

use think\Validate;

class VisitorComment extends Validate
{
    //游客留言验证
    protected $rule = [
        'email|邮箱'  =>  'require|email|length:4,25',
        'nickname|昵称' =>  'require|length:1,25',
    ];

}